package com.nulstudio.emotion.text.entity;

import java.util.Date;

public final class NulTextEntry {

    private int id;

    private String text;

    private boolean result;

    private Date analyzeTime;

    public NulTextEntry() {
        this.id = 0;
        this.text = null;
        this.result = false;
        this.analyzeTime = null;
    }

    public NulTextEntry(String text, boolean result) {
        this.id = 0;
        this.text = text;
        this.result = result;
        this.analyzeTime = new Date();
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public Date getAnalyzeTime() {
        return analyzeTime;
    }

    public void setAnalyzeTime(Date analyzeTime) {
        this.analyzeTime = analyzeTime;
    }
}
